package com.ruoyi.ocr.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * OCR识别任务实体类
 *
 * @author example
 */
public class OcrTask implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 任务ID */
    private Long taskId;

    /** 任务类型：idCard-身份证识别，drivingLicense-驾驶证识别 */
    private String taskType;

    /** 图片存储路径 */
    private String imagePath;

    /** 任务创建时间 */
    private Date createTime;

    /** 任务状态：0-待处理，1-处理中，2-成功，3-失败 */
    private Integer status;

    /** 错误信息 */
    private String errorMessage;

    // getter和setter方法
    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
